package routers

import (
	"genealogy/controllers"

	"github.com/gin-gonic/gin"
)

func biographyRouter(r *gin.RouterGroup) {
	r.GET("/biographies", controllers.GetBiography)
	r.DELETE("/biographies", controllers.DelBiography)
	r.PUT("/biographies", controllers.UpdateBiography)
	r.POST("/biographies", controllers.AddBiography)
}
